<?php /* Smarty version Smarty-3.1.6, created on 2013-07-11 12:51:56
         compiled from "./templates\incomingEdit.tpl" */ ?>
<?php /*%%SmartyHeaderCode:931551de5d14cc6cd8-63614165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7b9e1d1548413ce95c5d7e577e37c243bf187899' => 
    array (
      0 => './templates\\incomingEdit.tpl',
      1 => 1372387957,
      2 => 'file',
    ),
    '6e223a730afa2eea8d477b94ddbaf46d60057f4f' => 
    array (
      0 => 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\shakti\\templates\\main.tpl',
      1 => 1372686418,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '931551de5d14cc6cd8-63614165',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    's_activId' => 0,
    'selUsermenuArr' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_51de5d1521027',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51de5d1521027')) {function content_51de5d1521027($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\shakti\\include\\smarty\\libs\\plugins\\function.html_options.php';
if (!is_callable('smarty_function_html_select_date')) include 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\shakti\\include\\smarty\\libs\\plugins\\function.html_select_date.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<title>Shakti</title>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.autocomplete.js" ></script>

<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="./css/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="./css/menu.css" rel="stylesheet" type="text/css" />
<link href="./css/jquery.toastmessage-min.css" type="text/css" rel="stylesheet"/>
<link href="./css/jquery.autocomplete.css" type="text/css" rel="stylesheet" media="all">

<script type="text/javascript">
$(document).ready(function(){
	
	$(".add").click(function(){
    $("#one").clone(true).appendTo("#mainDiv")
     .find('input[type="text"]').val('').end()
  });
  $('.delete').click(function(){
    $(this).parents("#one").remove();  
 });  
});
$(document).ready(function() {
    $('#party').focus();
  });
function myFunction()
{
	if(confirm("You Want To Remove This Record")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}
</script>

<script type="text/javascript">
//SuckerTree Horizontal Menu (Sept 14th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
var menuids=["treemenu1"] //Enter id(s) of SuckerTree UL menus, separated by commas
function buildsubmenus_horizontal()
{
  for (var i=0; i<menuids.length; i++)
  {
    var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++)
    {
  		if(ultags[t].parentNode.parentNode.id==menuids[i])
  		{ //if this is a first level submenu
  			ultags[t].style.top=ultags[t].parentNode.offsetHeight+"px" //dynamically position first level submenus to be height of main menu item
  			ultags[t].parentNode.getElementsByTagName("a")[0].className="mainfoldericon"
		  }
		  else
		  { //else if this is a sub level menu (ul)
  		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
      	ultags[t].parentNode.getElementsByTagName("a")[0].className="subfoldericon"
		  }
      ultags[t].parentNode.onmouseover=function()
      {
        this.getElementsByTagName("ul")[0].style.visibility="visible"
      }
      ultags[t].parentNode.onmouseout=function()
      {
        this.getElementsByTagName("ul")[0].style.visibility="hidden"
      }
    }
  }
}
if (window.addEventListener)
window.addEventListener("load", buildsubmenus_horizontal, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus_horizontal)
</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
    <td class="content">
    <?php if (strlen($_smarty_tpl->tpl_vars['s_activId']->value)>0){?>
      <a href="logout.php" class="link">Logout</a> |
      <b>User Name : <?php echo $_smarty_tpl->tpl_vars['s_activId']->value;?>
</b>
    <?php }else{ ?>
      <a href="checkLogin.php" class="link">Login</a>
    <?php }?>
    </td>
  </tr>
  <?php if (strlen($_smarty_tpl->tpl_vars['s_activId']->value)>0){?>
  <tr align="center">
    <td class="bluebg1">
      <div class="suckertreemenu">
      <br />
        <ul id="treemenu1">
	          <li><a href="backup.php" style="width:15px;" class="link">&#2384;</a></li>
	          <li><a href="#" class="link" style="width:100px;">Master</a>
	            <ul>
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	              <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=8){?>
	                <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	              <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
	        <li><a href="#" class="link">Processing</a>
            <ul> 
              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	              <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=9&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=12){?>
	                <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	              <?php }?>
	            <?php endfor; endif; ?>
            </ul>	        
	        </li>
	        <li><a href="#" class="link">Main</a>
	            <ul> 
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	                <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=13&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=15){?>
	                  <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	                <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
	          <li><a href="#" class="link">BILL</a>
	            <ul> 
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	                <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=16&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=17){?>
	                  <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	                <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
	          <li><a href="#" class="link">Reports</a>
	            <ul> 
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	                <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=18&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=20){?>
	                  <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	                <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
            </ul>
          </li>
        </ul>
      <br /><br /><br />
      </div>
    </td>
  </tr>
  <?php }?>
  <tr>
  <td class="content">
   
<form name="form1" id="form1" action="<?php echo $_SERVER['PHP_SELF'];?>
" method="post" onSubmit="return confirm('Do You Want To Submit...!!!!');">
<input type="hidden" name="incomingId" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['incomingId'];?>
" size="5">
<table border="0" align="center" width="69%">
<tr>
  <td colspan="10" class="table1" align="center"><font size="3">Incoming Register</font></td>
</tr>
<tr>
  <td class="table2" colspan="3" align="right" size="15">Party</td>
  <td class="table2" colspan="3">                                                               
  <select name="partyId" id="partyId" required="required" AUTOFOCUS >
  <option value="">Select</option>
  <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['catTitleArray']->value['partyId'],'output'=>$_smarty_tpl->tpl_vars['catTitleArray']->value['partyName'],'selected'=>($_smarty_tpl->tpl_vars['incomingMstArray']->value['partyId'])),$_smarty_tpl);?>

  </select>
  </td>
</tr>
<tr>
  <td class="table2">Date</td>
  <td class="table2"><?php echo smarty_function_html_select_date(array('prefix'=>"curDate",'time'=>$_smarty_tpl->tpl_vars['incomingMstArray']->value['IncomingDate'],'start_year'=>"-0",'end_year'=>"+2",'field_order'=>"DMY",'month_format'=>"%m",'day_value_format'=>"%02d"),$_smarty_tpl);?>
</td>
  <td class="table2">Challan</td>
  <td class="table2"><input type="text" size="25" name="challan" id="challan" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['challan'];?>
" required="required"></td>	
  <td class="table2">Material</td>
  <td class="table2">
    <select name="material" required="required">
    <option value="">Select</option>
      <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['catmaterialArray']->value['materialId'],'output'=>$_smarty_tpl->tpl_vars['catmaterialArray']->value['materialName'],'selected'=>($_smarty_tpl->tpl_vars['incomingMstArray']->value['materialId'])),$_smarty_tpl);?>

    </select>
  </td>
</tr>
<tr>
  <td class="table2">Quantity</td>
  <td class="table2"><input type="text" name="qty" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['qty'];?>
" size="25" id="qty" required="required"></td>	
  <td class="table2">Weight</td>
  <td class="table2"><input type="text" name="weight" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['weight'];?>
" size="25" id="weight" required="required" /></td>	
  <td class="table2">Hardness</td>
  <td class="table2"><input type="text" size="25" name="hardne" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['hardne'];?>
" id="hardne" onblur="hardne();"  required="required"></td>
</tr>
<tr>
  <td class="table2">Process1</td>
  <td class="table2">
    <select name="processId1" required="required">
    <option value="" >Select</option>
    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['catprocessArray']->value['processId'],'output'=>$_smarty_tpl->tpl_vars['catprocessArray']->value['processName'],'selected'=>$_smarty_tpl->tpl_vars['incomingMstArray']->value['processId1']),$_smarty_tpl);?>

    </select>
  </td>
  <td class="table2">Process2</td>
  <td class="table2">
	  <select name="processId2">
	  <option value="">Select</option>
	  <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['catprocessArray']->value['processId'],'output'=>$_smarty_tpl->tpl_vars['catprocessArray']->value['processName'],'selected'=>$_smarty_tpl->tpl_vars['incomingMstArray']->value['processId2']),$_smarty_tpl);?>

	  </select>
	</td>
  <td class="table2">Process3</td>
  <td class="table2">
    <select name="processId3">
	  <option value="">Select</option>
    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['catprocessArray']->value['processId'],'output'=>$_smarty_tpl->tpl_vars['catprocessArray']->value['processName'],'selected'=>$_smarty_tpl->tpl_vars['incomingMstArray']->value['processId3']),$_smarty_tpl);?>

  </select></td>
</tr>
</table>
<table align="center" border=0 width="50%">
<tr>
  <td align="center" class="table2">Col1<input size="10" type="text" name="col1" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['column1'];?>
" required="required" /></td>
  <td align="center" class="table2">Col2<input size="10" type="text" name="col2" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['column2'];?>
" /></td>
  <td align="center" class="table2">Col3<input size="10" type="text" name="col3" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['column3'];?>
" /></td>
  <td align="center" class="table2">Col4<input size="10" type="text" name="col4" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['column4'];?>
" /></td>
  <td align="center" class="table2">Col5<input size="10" type="text" name="col5" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['column5'];?>
" /></td>
  <td align="center" class="table2">Col6<input size="10" type="text" name="col6" value="<?php echo $_smarty_tpl->tpl_vars['incomingMstArray']->value['column6'];?>
" /></td>
  <td align="center" class="table2"><b>&nbsp;</b></td>
  <td align="center" class="table2"><b>&nbsp;</b></td>
</tr>
<tbody id="mainDiv">
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['name'] = 'dtlSec';
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['incomingDtlArray']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['dtlSec']['total']);
?>
<tr id="one">
  <td class="table2"><input size="10" type="text" name="columns1[]" value="<?php echo $_smarty_tpl->tpl_vars['incomingDtlArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['dtlSec']['index']]['columns1'];?>
" /></td>
  <td class="table2"><input size="10" type="text" name="columns2[]" value="<?php echo $_smarty_tpl->tpl_vars['incomingDtlArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['dtlSec']['index']]['columns2'];?>
" /></td>
  <td class="table2"><input size="10" type="text" name="columns3[]" value="<?php echo $_smarty_tpl->tpl_vars['incomingDtlArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['dtlSec']['index']]['columns3'];?>
" /></td>
  <td class="table2"><input size="10" type="text" name="columns4[]" value="<?php echo $_smarty_tpl->tpl_vars['incomingDtlArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['dtlSec']['index']]['columns4'];?>
" /></td>
  <td class="table2"><input size="10" type="text" name="columns5[]" value="<?php echo $_smarty_tpl->tpl_vars['incomingDtlArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['dtlSec']['index']]['columns5'];?>
" /></td>
  <td class="table2"><input size="10" type="text" name="columns6[]" value="<?php echo $_smarty_tpl->tpl_vars['incomingDtlArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['dtlSec']['index']]['columns6'];?>
" /></td>
  <td class="table2"><input type="button" name="add" class="add" value="Add" /></td>
  <td class="table2"><input type="button" name="deleteBtn" class="delete" value="Delete" /></td>
</tr>
<?php endfor; endif; ?>
</tbody>
<tr>
  <td align="center" colspan="10" align="center" class="table1"><input type="submit" name="updateBtn" value="Update" class="button" /></td>
</tr>	
</table>
<br>
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td colspan="14" class="table1" align="center"><font size="3">Incoming Register List</font></td>
</tr>	
<tr>
  <td  class="table1" align='center' ><b>Edit</b></td>
  <td  class="table1" align='center' ><b>Delete</b></td>
  <td  class="table1" align='center' ><b>Detail</b></td>
  <td  class="table1" align='center' ><b>Party</b></td>
  <td  class="table1" align='center' ><b>Date</b></td>
  <td  class="table1" align='center' ><b>Challan</b></td>
  <td  class="table1" align='center' ><b>Material</b></td>
  <td  class="table1" align='center' ><b>Quantity</b></td>
  <td  class="table1" align='center' ><b>Weight</b></td>
  <td  class="table1" align='center' ><b>Hardness</b></td>
  <td  class="table1" align='center' ><b>Process1</b></td>
  <td  class="table1" align='center' ><b>Process2</b></td>
  <td  class="table1" align='center' ><b>Process3</b></td>
  <td  class="table1" align='center' ><b>&bull;</b></td>
</tr>
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['name'] = "sec";
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['incomingRegister']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["sec"]['total']);
?>
<tr>
  <td class="table2" align="center">
    <a href="incomingEdit.php?incomingId=<?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['incomingId'];?>
" class="link"><img src="./images/b_edit.png"></a>
  </td>
  <td class="table2" align="center">
    <a href="incomingDelete.php?incomingId=<?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['incomingId'];?>
" onclick="return myFunction();" class="link"><img src="./images/deleteIco.png"></a>
  </td>
  <td class="table2" align="center">
    <a href="IncomingRegisterDetail.php?incomingId=<?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['incomingId'];?>
">Detail</a>
  </td>
  <td class="table2" align="left" NOWRAP><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['partyName'];?>
</td>
  <td class="table2" align="left" NOWRAP><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['IncomingDate'];?>
</td>
  <td class="table2" align="left"><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['challan'];?>
</td>
  <td class="table2" align="left"><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['material'];?>
</td>
  <td class="table2" align="right"><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['qty'];?>
</td>
  <td class="table2" align="right"><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['weight'];?>
</td>
  <td class="table2" align="left" NOWRAP><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['hardne'];?>
</td>
  <td class="table2" align="left" NOWRAP><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['processName1'];?>
</td>
  <td class="table2" align="left" NOWRAP><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['processName2'];?>
</td>
  <td class="table2" align="left"><?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['processName3'];?>
</td>
  <td class="table2" align="center">
  	<a href="incomingRegister.php?directOut=1&incomingId=<?php echo $_smarty_tpl->tpl_vars['incomingRegister']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec']['index']]['incomingId'];?>
">Unprocess Return</a>
  </td>
</tr>
<?php endfor; else: ?>
<tr>
	<td colspan="12" align="center">
   <?php echo $_smarty_tpl->tpl_vars['msg']->value;?>

  </td>
</tr> 
<?php endif; ?>
</table>

  </td>
  </tr>
  <tr>
    <td class="bluebg1">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/corner3.gif" width="6" height="7" /></td>
        <td></td>
        <td align="right"><img src="images/corner4.gif" width="6" height="7" /></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</body>
</html><?php }} ?>